package cn.my;

import cn.hutool.core.io.FileUtil;
import cn.hutool.json.JSONObject;

/**
 * @author Sun.Q
 * @since 九月, 30 2021
 */
public class App {

    public static void main(String[] args) {
        //initConf();
        new MainFrame();
    }

    public static void initConf() {

        if (!FileUtil.exist("./packup.json")) {
            JSONObject conf = new JSONObject();
            //Gitee中申请的token
            conf.set("token", "");
            conf.set("repo", "");
            conf.set("owner", "");
            FileUtil.writeUtf8String(conf.toStringPretty(), "./packup.json");
        }

    }
}
